home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmRowColumn.z.z / XmRowColumn.z / XmRowColumn
Encoding:
Text File  |  2003-11-18  |  73.7 KB  |  1,519 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_R_o_w_C_o_l_u_m_n -    The RowColumn widget class
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.       #include <Xm/RowColumn.h>
  13.  
  14.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.       The RowColumn    widget is a general purpose RowColumn manager
  16.       capable of containing    any widget type    as a child.  In
  17.       general, it requires no special knowledge about how its
  18.       children function and    provides nothing beyond    support    for
  19.       several different layout styles.  However, it    can be
  20.       configured as    a menu,    in which case, it expects only certain
  21.       children, and    it configures to a particular layout.  The
  22.       menus    supported are:    MenuBar, Pulldown or Popup MenuPanes,
  23.       and OptionMenu.
  24.  
  25.       The type of layout performed is controlled by    how the
  26.       application has set the various layout resources.  It    can be
  27.       configured to    lay out    its children in    either rows or
  28.       columns.  In addition, the application can specify how the
  29.       children are laid out, as follows:
  30.  
  31.       +o    the children are    packed tightly together    into either
  32.            rows or columns
  33.  
  34.       +o    each child is placed in an identically sized box
  35.            (producing a symmetrical    look)
  36.  
  37.       +o    a specific layout (the current xxxx    and yyyy positions    of the
  38.            children    control    their location)
  39.  
  40.       In addition, the application has control over    both the
  41.       spacing that occurs between each row and column and the
  42.       margin spacing present between the edges of the RowColumn
  43.       widget and any children that are placed against it.
  44.  
  45.       In a MenuBar,    Pulldown MenuPane, or Popup MenuPane the
  46.       default for the _X_m_N_s_h_a_d_o_w_T_h_i_c_k_n_e_s_s resource is 2.  In    an
  47.       OptionMenu or    a WorkArea (such as a RadioBox or CheckBox)
  48.       this resource    is not applicable and its use is undefined.
  49.       If an    application wishes to place a 3-D shadow around    an
  50.       OptionMenu or    WorkArea, it can create    the RowColumn as a
  51.       child    of a Frame widget.
  52.  
  53.       In a MenuBar,    Pulldown MenuPane, or Popup MenuPane the
  54.       _X_m_N_n_a_v_i_g_a_t_i_o_n_T_y_p_e resource is    not applicable and its use is
  55.       undefined.  In a WorkArea the    default    for _X_m_N_n_a_v_i_g_a_t_i_o_n_T_y_p_e
  56.       is _X_m_T_A_B__G_R_O_U_P.  In an OptionMenu the    default    for
  57.       _X_m_N_n_a_v_i_g_a_t_i_o_n_T_y_p_e is _X_m_N_O_N_E.
  58.  
  59.       In a MenuBar,    Pulldown MenuPane, or Popup MenuPane the
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))
  71.  
  72.  
  73.  
  74.       _X_m_N_t_r_a_v_e_r_s_a_l_O_n resource is not applicable and    its use    is
  75.       undefined.  In an OptionMenu or WorkArea the default for
  76.       _X_m_N_t_r_a_v_e_r_s_a_l_O_n is True.
  77.  
  78.       If the parent    of the RowColumn is a MenuShell, the
  79.       _X_m_N_m_a_p_p_e_d_W_h_e_n_M_a_n_a_g_e_d resource    is forced to False when    the
  80.       widget is realized.
  81.  
  82.       The user can specify resources in a resource file for    the
  83.       automatically    created    widgets    and gadgets of an OptionMenu.
  84.       The following    list identifies    the names of these widgets (or
  85.       gadgets) and the associated OptionMenu areas.
  86.  
  87.       +o    Option Menu Label Gadget    - "OptionLabel"
  88.  
  89.       +o    Option Menu Cascade Button - "OptionButton"
  90.  
  91.     TTTTeeeeaaaarrrr----ooooffffffff MMMMeeeennnnuuuussss
  92.       Pulldown and Popup MenuPanes support tear-off    menus, which
  93.       enable the user to retain a MenuPane on the display to
  94.       facilitate subsequent    menu selections.  A MenuPane that can
  95.       be torn-off is identified by a tear-off button that spans
  96.       the width of the MenuPane and    displays a dashed line.     A
  97.       torn-off MenuPane contains a window manager system menu icon
  98.       and a    title bar.  The    window title displays the label    of the
  99.       cascade button that initiated    the action when    the label type
  100.       is _X_m_S_T_R_I_N_G.    If the label contains a    pixmap the window
  101.       title    is empty.  A tear-off menu from    a Popup    MenuPane also
  102.       displays an empty title.
  103.  
  104.       The user can tear-off    a MenuPane using the mouse or
  105.       keyboard.  Clicking _B_S_e_l_e_c_t or pressing _K_A_c_t_i_v_a_t_e (or
  106.       _K_S_e_l_e_c_t) on the tear-off button, tears off the MenuPane at
  107.       the current position.     Pressing _B_D_r_a_g    on the tear-off    button
  108.       tears    off the    MenuPane, and allows the user to drag the
  109.       torn-off menu    to a new position designated by    releasing the
  110.       mouse    button.     Tearing off a MenuPane    unposts    the current
  111.       active menu.    Only one tear-off copy for each    MenuPane is
  112.       allowed.  Subsequent tear-off    actions    of a torn MenuPane
  113.       unpost the existing copy first.
  114.  
  115.       The name of the tear-off button of a torn-off    menu pane is
  116.       "TearOffControl".  The name can be used to set resources in
  117.       a resource file.  An application can also obtain the tear-
  118.       off button itself using _X_m_G_e_t_T_e_a_r_O_f_f_C_o_n_t_r_o_l and then set
  119.       resource values by calling _X_t_S_e_t_V_a_l_u_e_s.
  120.  
  121.       The tear-off button has Separator-like behavior.  Its
  122.       appearance can be specified using the    following tear-off
  123.       button resources:  _X_m_N_b_a_c_k_g_r_o_u_n_d,
  124.       _X_m_N_b_a_c_k_g_r_o_u_n_d_P_i_x_m_a_p,_X_m_N_b_o_t_t_o_m_S_h_a_d_o_w_C_o_l_o_r, _X_m_N_f_o_r_e_g_r_o_u_n_d,
  125.       _X_m_N_h_e_i_g_h_t, _X_m_N_m_a_r_g_i_n,    _X_m_N_s_e_p_a_r_a_t_o_r_T_y_p_e, _X_m_N_s_h_a_d_o_w_T_h_i_c_k_n_e_s_s,
  126.  
  127.  
  128.  
  129.      Page 2                        (printed 11/11/03)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))
  137.  
  138.  
  139.  
  140.       and _X_m_N_t_o_p_S_h_a_d_o_w_C_o_l_o_r.  Refer    to the _X_m_S_e_p_a_r_a_t_o_r man page
  141.       for a    complete description of    each of    these resources.
  142.  
  143.       RowColumn resources that affect tear-off menu    behavior are
  144.       _X_m_N_t_e_a_r_O_f_f_M_o_d_e_l, _X_m_N_t_e_a_r_O_f_f_M_e_n_u_A_c_t_i_v_a_t_e_C_a_l_l_b_a_c_k, and
  145.       _X_m_N_t_e_a_r_O_f_f_M_e_n_u_D_e_a_c_t_i_v_a_t_e_C_a_l_l_b_a_c_k.
  146.  
  147.       By default, menus do not tear    off; tear off functionality
  148.       may be enabled by setting the    _X_m_N_t_e_a_r_O_f_f_M_o_d_e_l    resource to
  149.       _X_m_T_E_A_R__O_F_F__E_N_A_B_L_E_D.  There is    no resource converter pre-
  150.       registered for _X_m_N_t_e_a_r_O_f_f_M_o_d_e_l.  To allow tear-off
  151.       functionality    to be enabled through the resource database
  152.       call the function _X_m_R_e_p_T_y_p_e_I_n_s_t_a_l_l_T_e_a_r_O_f_f_M_o_d_e_l_C_o_n_v_e_r_t_e_r.
  153.  
  154.       Tear-off menu    focus policy follows standard window manager
  155.       policy.  It is recommended that the following    _m_w_m resources
  156.       are set to True:  _s_t_a_r_t_u_p_K_e_y_F_o_c_u_s and    _a_u_t_o_K_e_y_F_o_c_u_s.
  157.  
  158.     CCCCllllaaaasssssssseeeessss
  159.       RowColumn inherits behavior and resources from _C_o_r_e,
  160.       _C_o_m_p_o_s_i_t_e, _C_o_n_s_t_r_a_i_n_t, and _X_m_M_a_n_a_g_e_r classes.
  161.  
  162.       The class pointer is _x_m_R_o_w_C_o_l_u_m_n_W_i_d_g_e_t_C_l_a_s_s.
  163.  
  164.       The class name is _X_m_R_o_w_C_o_l_u_m_n.
  165.  
  166.     NNNNeeeewwww RRRReeeessssoooouuuurrrrcccceeeessss
  167.       The following    table defines a    set of widget resources    used
  168.       by the programmer to specify data.  The programmer can also
  169.       set the resource values for the inherited classes to set
  170.       attributes for this widget.  To reference a resource by name
  171.       or by    class in a .Xdefaults file, remove the _X_m_N or _X_m_C
  172.       prefix and use the remaining letters.     To specify one    of the
  173.       defined values for a resource    in a .Xdefaults    file, remove
  174.       the _X_m prefix    and use    the remaining letters (in either
  175.       lowercase or uppercase, but include any underscores between
  176.       words).  The codes in    the access column indicate if the
  177.       given    resource can be    set at creation    time (C), set by using
  178.       _X_t_S_e_t_V_a_l_u_e_s (S), retrieved by    using _X_t_G_e_t_V_a_l_u_e_s (G), or is
  179.       not applicable (N/A).
  180.  
  181.                           XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  182.      NNNNaaaammmmeeee                CCCCllllaaaassssssss               TTTTyyyyppppeeee        DDDDeeeeffffaaaauuuulllltttt             AAAAcccccccceeeessssssss
  183.      __________________________________________________________________________________________________________
  184.      XmNadjustLast            XmCAdjustLast           Boolean        True             CSG
  185.      XmNadjustMargin            XmCAdjustMargin           Boolean        True             CSG
  186.      XmNentryAlignment            XmCAlignment           unsigned    char    XmALIGNMENT_BEGINNING     CSG
  187.      XmNentryBorder            XmCEntryBorder           Dimension    0             CSG
  188.      XmNentryCallback            XmCCallback           XtCallbackList    NULL             C
  189.      XmNentryClass            XmCEntryClass           WidgetClass    dynamic             CSG
  190.  
  191.  
  192.  
  193.  
  194.  
  195.      Page 3                        (printed 11/11/03)
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.      XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))
  203.  
  204.  
  205.  
  206.      XmNentryVerticalAlignment        XmCVerticalAlignment   unsigned    char    XmALIGNMENT_CENTER     CSG
  207.      XmNisAligned            XmCIsAligned           Boolean        True             CSG
  208.      XmNisHomogeneous            XmCIsHomogeneous       Boolean        dynamic             CG
  209.      XmNlabelString            XmCXmString           XmString        NULL             C
  210.      XmNmapCallback            XmCCallback           XtCallbackList    NULL             C
  211.      XmNmarginHeight            XmCMarginHeight           Dimension    dynamic             CSG
  212.      XmNmarginWidth            XmCMarginWidth           Dimension    dynamic             CSG
  213.      XmNmenuAccelerator            XmCAccelerators           String        dynamic             CSG
  214.      XmNmenuHelpWidget            XmCMenuWidget           Widget        NULL             CSG
  215.      XmNmenuHistory            XmCMenuWidget           Widget        NULL             CSG
  216.      XmNmenuPost            XmCMenuPost           String        NULL             CSG
  217.      XmNmnemonic            XmCMnemonic           KeySym        NULL             CSG
  218.      XmNmnemonicCharSet            XmCMnemonicCharSet     String        XmFONTLIST_DEFAULT_TAG     CSG
  219.      XmNnumColumns            XmCNumColumns           short        1             CSG
  220.      XmNorientation            XmCOrientation           unsigned    char    dynamic             CSG
  221.      XmNpacking                XmCPacking           unsigned    char    dynamic             CSG
  222.      XmNpopupEnabled            XmCPopupEnabled           Boolean        True             CSG
  223.      XmNradioAlwaysOne            XmCRadioAlwaysOne      Boolean        True             CSG
  224.      XmNradioBehavior            XmCRadioBehavior       Boolean        False             CSG
  225.      XmNresizeHeight            XmCResizeHeight           Boolean        True             CSG
  226.      XmNresizeWidth            XmCResizeWidth           Boolean        True             CSG
  227.      XmNrowColumnType            XmCRowColumnType       unsigned    char    XmWORK_AREA         CG
  228.      XmNspacing                XmCSpacing           Dimension    dynamic             CSG
  229.      XmNsubMenuId            XmCMenuWidget           Widget        NULL             CSG
  230.      XmNtearOffMenuActivateCallback    XmCCallback           XtCallbackList    NULL             C
  231.      XmNtearOffMenuDeactivateCallback    XmCCallback           XtCallbackList    NULL             C
  232.      XmNtearOffModel            XmCTearOffModel           unsigned    char    XmTEAR_OFF_DISABLED     CSG
  233.      XmNunmapCallback            XmCCallback           XtCallbackList    NULL             C
  234.      XmNwhichButton            XmCWhichButton           unsigned    int    dynamic             CSG
  235.  
  236.  
  237.       _X_m_N_a_d_j_u_s_t_L_a_s_t
  238.            Extends the last    row of children    to the bottom edge of
  239.            RowColumn (when _X_m_N_o_r_i_e_n_t_a_t_i_o_n is _X_m_H_O_R_I_Z_O_N_T_A_L) or
  240.            extends the last    column to the right edge of RowColumn
  241.            (when _X_m_N_o_r_i_e_n_t_a_t_i_o_n is _X_m_V_E_R_T_I_C_A_L).  This feature is
  242.            disabled    by setting _X_m_N_a_d_j_u_s_t_L_a_s_t to False.
  243.  
  244.       _X_m_N_a_d_j_u_s_t_M_a_r_g_i_n
  245.            Specifies whether the inner minor margins of all    items
  246.            contained within    the RowColumn widget are forced    to the
  247.            same value.  The    inner minor margin corresponds to the
  248.            _X_m_N_m_a_r_g_i_n_L_e_f_t, _X_m_N_m_a_r_g_i_n_R_i_g_h_t, _X_m_N_m_a_r_g_i_n_T_o_p, and
  249.            _X_m_N_m_a_r_g_i_n_B_o_t_t_o_m resources supported by _X_m_L_a_b_e_l and
  250.            _X_m_L_a_b_e_l_G_a_d_g_e_t.
  251.  
  252.            A horizontal orientation    causes _X_m_N_m_a_r_g_i_n_T_o_p and
  253.            _X_m_N_m_a_r_g_i_n_B_o_t_t_o_m for all items in    a particular row to be
  254.            forced to the same value; the value is the largest
  255.            margin specified    for one    of the Label items.
  256.  
  257.            A vertical orientation causes _X_m_N_m_a_r_g_i_n_L_e_f_t and
  258.  
  259.  
  260.  
  261.      Page 4                        (printed 11/11/03)
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.      XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))
  269.  
  270.  
  271.  
  272.            _X_m_N_m_a_r_g_i_n_R_i_g_h_t for all items in a particular column to
  273.            be forced to the    same value; the    value is the largest
  274.            margin specified    for one    of the Label items.
  275.  
  276.            This keeps all text within each row or column lined up
  277.            with all    other text in its row or column.  If the
  278.            _X_m_N_r_o_w_C_o_l_u_m_n_T_y_p_e    is either _X_m_M_E_N_U__P_O_P_U_P or
  279.            _X_m_M_E_N_U__P_U_L_L_D_O_W_N and this    resource is True, only button
  280.            children    have their margins adjusted.
  281.  
  282.       _X_m_N_e_n_t_r_y_A_l_i_g_n_m_e_n_t
  283.            Specifies the alignment type for    children that are
  284.            subclasses of _X_m_L_a_b_e_l or    _X_m_L_a_b_e_l_G_a_d_g_e_t when
  285.            _X_m_N_i_s_A_l_i_g_n_e_d is enabled.     The following are textual
  286.            alignment types:
  287.  
  288.            _X_m_A_L_I_G_N_M_E_N_T__B_E_G_I_N_N_I_N_G - the default
  289.  
  290.            _X_m_A_L_I_G_N_M_E_N_T__C_E_N_T_E_R
  291.  
  292.            _X_m_A_L_I_G_N_M_E_N_T__E_N_D
  293.  
  294.            See the description of _X_m_N_a_l_i_g_n_m_e_n_t in the _X_m_L_a_b_e_l(_3_X)
  295.            man page    for an explanation of these actions.
  296.  
  297.       _X_m_N_e_n_t_r_y_B_o_r_d_e_r
  298.            Imposes a uniform border    width upon all RowColumn's
  299.            children.  The default value is 0, which    disables the
  300.            feature.
  301.  
  302.       _X_m_N_e_n_t_r_y_C_a_l_l_b_a_c_k
  303.            Disables    the _X_m_N_a_c_t_i_v_a_t_e_C_a_l_l_b_a_c_k    and
  304.            _X_m_N_v_a_l_u_e_C_h_a_n_g_e_d_C_a_l_l_b_a_c_k callbacks for all
  305.            CascadeButton, DrawnButton, PushButton, and
  306.            ToggleButton widgets and    gadgets    contained within the
  307.            RowColumn widget.  If the application supplies this
  308.            resource, the _X_m_N_a_c_t_i_v_a_t_e_C_a_l_l_b_a_c_k and
  309.            _X_m_N_v_a_l_u_e_C_h_a_n_g_e_d_C_a_l_l_b_a_c_k callbacks are then revectored
  310.            to the _X_m_N_e_n_t_r_y_C_a_l_l_b_a_c_k callbacks.  This    allows an
  311.            application to supply a single callback routine for
  312.            handling    all items contained in a RowColumn widget.
  313.            The callback reason is _X_m_C_R__A_C_T_I_V_A_T_E.  If the
  314.            application does    not supply this    resource, the
  315.            _X_m_N_a_c_t_i_v_a_t_e_C_a_l_l_b_a_c_k and _X_m_N_v_a_l_u_e_C_h_a_n_g_e_d_C_a_l_l_b_a_c_k
  316.            callbacks for each item in the RowColumn    widget work as
  317.            normal.
  318.  
  319.            The application must supply this    resource when this
  320.            widget is created.  Changing this resource using    the
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.      Page 5                        (printed 11/11/03)
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.      XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))
  335.  
  336.  
  337.  
  338.            _X_t_S_e_t_V_a_l_u_e_s is not supported.
  339.  
  340.       _X_m_N_e_n_t_r_y_C_l_a_s_s
  341.            Specifies the only widget class that can    be added to
  342.            the RowColumn widget; this resource is meaningful only
  343.            when the    _X_m_N_i_s_H_o_m_o_g_e_n_e_o_u_s resource is set to True.
  344.            Both widget and gadget variants of the specified    class
  345.            may be added to the widget.
  346.  
  347.            When _X_m_C_r_e_a_t_e_R_a_d_i_o_B_o_x is    called or when
  348.            _X_m_N_r_o_w_C_o_l_u_m_n_T_y_p_e    is set to _X_m_W_O_R_K__A_R_E_A and
  349.            _X_m_N_r_a_d_i_o_B_e_h_a_v_i_o_r    is True, the default value of
  350.            _X_m_N_e_n_t_r_y_C_l_a_s_s is    _x_m_T_o_g_g_l_e_B_u_t_t_o_n_G_a_d_g_e_t_C_l_a_s_s.  When
  351.            _X_m_N_r_o_w_C_o_l_u_m_n_T_y_p_e    is set to _X_m_M_E_N_U__B_A_R, the value    of
  352.            _X_m_N_e_n_t_r_y_C_l_a_s_s is    forced to _x_m_C_a_s_c_a_d_e_B_u_t_t_o_n_W_i_d_g_e_t_C_l_a_s_s.
  353.  
  354.       _X_m_N_e_n_t_r_y_V_e_r_t_i_c_a_l_A_l_i_g_n_m_e_n_t
  355.            Specifies the type of vertical alignment    for children
  356.            that are    subclasses of _X_m_L_a_b_e_l, _X_m_L_a_b_e_l_G_a_d_g_e_t, _a_n_d
  357.            _X_m_T_e_x_t.    _T_h_i_s _r_e_s_o_u_r_c_e _i_s _i_n_v_a_l_i_d _i_f _X_m_N_o_r_i_e_n_t_a_t_i_o_n _i_s
  358.            _X_m_V_E_R_T_I_C_A_L _a_n_d _X_m_N_p_a_c_k_i_n_g _i_s _X_m_P_A_C_K__T_I_G_H_T _b_e_c_a_u_s_e _t_h_i_s
  359.            _l_a_y_o_u_t _p_r_e_s_e_r_v_e_s    _v_a_r_i_a_b_l_e _h_e_i_g_h_t_s _a_m_o_n_g _t_h_e _c_h_i_l_d_r_e_n.
  360.            _T_h_e _v_e_r_t_i_c_a_l _a_l_i_g_n_m_e_n_t _t_y_p_e_s _i_n_c_l_u_d_e:
  361.  
  362.       +o    _X_m_A_L_I_G_N_M_E_N_T__B_A_S_E_L_I_N_E__B_O_T_T_O_M - causes the    bottom
  363.            baseline    of all children    in a row to be aligned.     This
  364.            resource    is applicable only when    all children in    a row
  365.            contain textual data.
  366.  
  367.       +o    _X_m_A_L_I_G_N_M_E_N_T__B_A_S_E_L_I_N_E__T_O_P    - causes the top baseline of
  368.            all children in a row to    be aligned.  This resource is
  369.            applicable only when all    children in a row contain
  370.            textual data.
  371.  
  372.       +o    _X_m_A_L_I_G_N_M_E_N_T__C_O_N_T_E_N_T_S__B_O_T_T_O_M - causes the    bottom of the
  373.            contents    (text or pixmap) of all    children in a row to
  374.            be aligned.
  375.  
  376.       +o    _X_m_A_L_I_G_N_M_E_N_T__C_E_N_T_E_R - causes the center of all children
  377.            in a row    to be aligned.
  378.  
  379.       +o    _X_m_A_L_I_G_N_M_E_N_T__C_O_N_T_E_N_T_S__T_O_P    - causes the top of the
  380.            contents    (text or pixmap) of all    children in a row to
  381.            be aligned.
  382.  
  383.       _X_m_N_i_s_A_l_i_g_n_e_d
  384.            Specifies text alignment    for each item within the
  385.            RowColumn widget; this applies only to items that are
  386.            subclasses of _X_m_L_a_b_e_l or    _X_m_L_a_b_e_l_G_a_d_g_e_t.    However, if
  387.            the item    is a Label widget or gadget and    its parent is
  388.            either a    Popup MenuPane or a Pulldown MenuPane,
  389.            alignment is not    performed; the Label is    treated    as the
  390.  
  391.  
  392.  
  393.      Page 6                        (printed 11/11/03)
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.      XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))
  401.  
  402.  
  403.  
  404.            title within the    MenuPane, and the alignment set    by the
  405.            application is not overridden.  _X_m_N_e_n_t_r_y_A_l_i_g_n_m_e_n_t
  406.            controls    the type of textual alignment.
  407.  
  408.       _X_m_N_i_s_H_o_m_o_g_e_n_e_o_u_s
  409.            Indicates whether the RowColumn widget should enforce
  410.            exact homogeneity among the items it contains; if True,
  411.            only the    widgets    that are of the    class indicated    by
  412.            _X_m_N_e_n_t_r_y_C_l_a_s_s are allowed as children of    the RowColumn
  413.            widget.    This is    most often used    when creating a
  414.            MenuBar.     Attempting to insert a    child that is not a
  415.            member of the specified class generates a warning
  416.            message.
  417.  
  418.            In a MenuBar the    value of _X_m_N_i_s_H_o_m_o_g_e_n_e_o_u_s is forced to
  419.            True.  In an OptionMenu the value is forced to False.
  420.            When _X_m_C_r_e_a_t_e_R_a_d_i_o_B_o_x is    called the default value is
  421.            True.  Otherwise, the default value is False.
  422.  
  423.       _X_m_N_l_a_b_e_l_S_t_r_i_n_g
  424.            Points to a text    string,    which displays the label to
  425.            one side    of the selection area when _X_m_N_r_o_w_C_o_l_u_m_n_T_y_p_e is
  426.            set to _X_m_M_E_N_U__O_P_T_I_O_N.  This resource is not meaningful
  427.            for all other RowColumn types.  If the application
  428.            wishes to change    the label after    creation, it must get
  429.            the LabelGadget ID (_X_m_O_p_t_i_o_n_L_a_b_e_l_G_a_d_g_e_t)    and call
  430.            _X_t_S_e_t_V_a_l_u_e_s on the LabelGadget directly.     The default
  431.            value is    no label.
  432.  
  433.       _X_m_N_m_a_p_C_a_l_l_b_a_c_k
  434.            Specifies a widget-specific callback function that is
  435.            invoked when the    window associated with the RowColumn
  436.            widget is about to be mapped.  The callback reason is
  437.            _X_m_C_R__M_A_P.
  438.  
  439.       _X_m_N_m_a_r_g_i_n_H_e_i_g_h_t
  440.            Specifies the amount of blank space between the top
  441.            edge of the RowColumn widget and    the first item in each
  442.            column, and the bottom edge of the RowColumn widget and
  443.            the last    item in    each column.  The default value    is 0
  444.            for Pulldown and    Popup MenuPanes, and 3 pixels for
  445.            other RowColumn types.
  446.  
  447.       _X_m_N_m_a_r_g_i_n_W_i_d_t_h
  448.            Specifies the amount of blank space between the left
  449.            edge of the RowColumn widget and    the first item in each
  450.            row, and    the right edge of the RowColumn    widget and the
  451.            last item in each row.  The default value is 0 for
  452.            Pulldown    and Popup MenuPanes, and 3 pixels for other
  453.            RowColumn types.
  454.  
  455.       _X_m_N_m_e_n_u_A_c_c_e_l_e_r_a_t_o_r
  456.  
  457.  
  458.  
  459.      Page 7                        (printed 11/11/03)
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.      XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))
  467.  
  468.  
  469.  
  470.            This resource is    useful only when the RowColumn widget
  471.            has been    configured to operate as a Popup MenuPane or a
  472.            MenuBar.     The format of this resource is    similar    to the
  473.            left side specification of a translation    string,    with
  474.            the limitation that it must specify a key event.     For a
  475.            Popup MenuPane, when the    accelerator is typed by    the
  476.            user, the Popup MenuPane    is posted.  For    a MenuBar,
  477.            when the    accelerator is typed by    the user, the first
  478.            item in the MenuBar is highlighted, and traversal is
  479.            enabled in the MenuBar.    The default for    a Popup
  480.            MenuPane    is _K_M_e_n_u.  The default for a MenuBar is
  481.            _K_M_e_n_u_B_a_r.  The accelerator can be disabled by setting
  482.            the _X_m_N_p_o_p_u_p_E_n_a_b_l_e_d resource to False.
  483.  
  484.       _X_m_N_m_e_n_u_H_e_l_p_W_i_d_g_e_t
  485.            Specifies the widget ID for the CascadeButton, which is
  486.            treated as the Help widget if _X_m_N_r_o_w_C_o_l_u_m_n_T_y_p_e is set
  487.            to _X_m_M_E_N_U__B_A_R.  The MenuBar always places the Help
  488.            widget at the bottom right corner (in a lef to right
  489.            environment) of the MenuBar.  If    the RowColumn widget
  490.            is any type other than _X_m_M_E_N_U__B_A_R, this resource    is not
  491.            meaningful.
  492.  
  493.       _X_m_N_m_e_n_u_H_i_s_t_o_r_y
  494.            Specifies the widget ID of the last menu    entry to be
  495.            activated.  It is also useful for specifying the
  496.            current selection for an    OptionMenu.  If
  497.            _X_m_N_r_o_w_C_o_l_u_m_n_T_y_p_e    is set to _X_m_M_E_N_U__O_P_T_I_O_N, the specified
  498.            menu item is positioned under the cursor    when the menu
  499.            is displayed.
  500.  
  501.            If the RowColumn    widget has the _X_m_N_r_a_d_i_o_B_e_h_a_v_i_o_r
  502.            resource    set to True, the widget    field associated with
  503.            this resource contains the widget ID of the last
  504.            ToggleButton or ToggleButtonGadget to change from
  505.            unselected to selected.    The default value is the
  506.            widget ID of the    first child in the widget.
  507.  
  508.       _X_m_N_m_e_n_u_P_o_s_t
  509.            Specifies an X event description    indicating a button
  510.            event that posts    a menu system.    The default for
  511.            _X_m_M_E_N_U__P_O_P_U_P is _B_M_e_n_u _P_r_e_s_s.  The default for
  512.            _X_m_M_E_N_U__O_P_T_I_O_N, _X_m_M_E_N_U__B_A_R, and _X_m_W_O_R_K__A_R_E_A is _B_S_e_l_e_c_t
  513.            _P_r_e_s_s.  The _X_m_N_m_e_n_u_P_o_s_t resource    for pulldowns should
  514.            be consistent with that of top-level parent menu
  515.            (although the event type    is ignored).  Setting this
  516.            resource    to _B_D_r_a_g _P_r_e_s_s will conflict with drag and
  517.            drop operations,    which use _B_D_r_a_g    _P_r_e_s_s as a default
  518.            button binding.
  519.  
  520.       _X_m_N_m_n_e_m_o_n_i_c
  521.            This resource is    useful only when _X_m_N_r_o_w_C_o_l_u_m_n_T_y_p_e is
  522.  
  523.  
  524.  
  525.      Page 8                        (printed 11/11/03)
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.      XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))
  533.  
  534.  
  535.  
  536.            set to _X_m_M_E_N_U__O_P_T_I_O_N.  Specifies    a keysym for a key
  537.            that, when pressed by the user along with the _M_A_l_t
  538.            modifier, posts the associated Pulldown MenuPane.  The
  539.            first character in the OptionMenu label string that
  540.            exactly matches the mnemonic in the character set
  541.            specified in _X_m_N_m_n_e_m_o_n_i_c_C_h_a_r_S_e_t is underlined.  The
  542.            user can    post the menu by pressing either the shifted
  543.            or the unshifted    mnemonic key.  The default is no
  544.            mnemonic.
  545.  
  546.       _X_m_N_m_n_e_m_o_n_i_c_C_h_a_r_S_e_t
  547.            Specifies the character set of the mnemonic for an
  548.            OptionMenu.  The    default    is _X_m_F_O_N_T_L_I_S_T__D_E_F_A_U_L_T__T_A_G.  If
  549.            the RowColumn widget is any type    other than
  550.            _X_m_M_E_N_U__O_P_T_I_O_N, this resource is not meaningful.
  551.  
  552.       _X_m_N_n_u_m_C_o_l_u_m_n_s
  553.            Specifies the number of minor dimension extensions that
  554.            are made    to accommodate the entries; this attribute is
  555.            meaningful only when _X_m_N_p_a_c_k_i_n_g is set to
  556.            _X_m_P_A_C_K__C_O_L_U_M_N.
  557.  
  558.            For vertically oriented RowColumn widgets, this
  559.            attribute indicates how many columns are    built; the
  560.            number of entries per column is adjusted    to maintain
  561.            this number of columns, if possible.
  562.  
  563.            For horizontally    oriented RowColumn widgets, this
  564.            attribute indicates how many rows are built.
  565.  
  566.            The default value is 1.    In an OptionMenu the value is
  567.            forced to 1.  The value must be greater than 0.
  568.  
  569.       _X_m_N_o_r_i_e_n_t_a_t_i_o_n
  570.            Determines whether RowColumn layouts are    row-major or
  571.            column-major.  In a column-major    layout,    the children
  572.            of the RowColumn    are laid out in    columns    top to bottom
  573.            within the widget.  In a    row-major layout the children
  574.            of the RowColumn    are laid out in    rows.  _X_m_V_E_R_T_I_C_A_L
  575.            resource    value selects a    column-major layout.
  576.            _X_m_H_O_R_I_Z_O_N_T_A_L resource value selects a row-major layout.
  577.  
  578.            When creating a MenuBar or an OptionMenu, the default
  579.            is _X_m_H_O_R_I_Z_O_N_T_A_L.     Otherwise, the    default    value is
  580.            _X_m_V_E_R_T_I_C_A_L.  The    results    of specifying a    value of
  581.            _X_m_V_E_R_T_I_C_A_L for a    MenuBar    are undefined.
  582.  
  583.       _X_m_N_p_a_c_k_i_n_g
  584.            Specifies how to    pack the items contained within    a
  585.            RowColumn widget.  This can be set to _X_m_P_A_C_K__T_I_G_H_T,
  586.            _X_m_P_A_C_K__C_O_L_U_M_N or    _X_m_P_A_C_K__N_O_N_E.  When a RowColumn widget
  587.            packs the items it contains, it determines its major
  588.  
  589.  
  590.  
  591.      Page 9                        (printed 11/11/03)
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.      XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))
  599.  
  600.  
  601.  
  602.            dimension using the value of the    _X_m_N_o_r_i_e_n_t_a_t_i_o_n
  603.            resource.
  604.  
  605.            _X_m_P_A_C_K__T_I_G_H_T indicates that given the current major
  606.            dimension (for example, vertical    if _X_m_N_o_r_i_e_n_t_a_t_i_o_n is
  607.            _X_m_V_E_R_T_I_C_A_L), entries are    placed one after the other
  608.            until the RowColumn widget must wrap.  RowColumn    wraps
  609.            when there is no    room left for a    complete child in that
  610.            dimension.  Wrapping occurs by beginning    a new row or
  611.            column in the next available space.  Wrapping
  612.            continues, as often as necessary, until all of the
  613.            children    are laid out.  In the vertical dimension
  614.            (columns), boxes    are set    to the same width; in the
  615.            horizontal dimension (rows), boxes are set to the same
  616.            depth.  Each entry's position in    the major dimension is
  617.            left unaltered (for example, _X_m_N_y is left unchanged
  618.            when _X_m_N_o_r_i_e_n_t_a_t_i_o_n is _X_m_V_E_R_T_I_C_A_L); its position    in the
  619.            minor dimension is set to the same value    as the
  620.            greatest    entry in that particular row or    column.     The
  621.            position    in the minor dimension of any particular row
  622.            or column is independent    of all other rows or columns.
  623.  
  624.            _X_m_P_A_C_K__C_O_L_U_M_N indicates that all    entries    are placed in
  625.            identically sized boxes.     The box is based on the
  626.            largest height and width    values of all the children
  627.            widgets.     The value of the _X_m_N_n_u_m_C_o_l_u_m_n_s    resource
  628.            determines how many boxes are placed in the major
  629.            dimension, before extending in the minor    dimension.
  630.  
  631.            _X_m_P_A_C_K__N_O_N_E indicates that no packing is    performed.
  632.            The x and y attributes of each entry are    left alone,
  633.            and the RowColumn widget    attempts to become large
  634.            enough to enclose all entries.
  635.  
  636.            When _X_m_C_r_e_a_t_e_R_a_d_i_o_B_o_x is    called or when
  637.            _X_m_N_r_o_w_C_o_l_u_m_n_T_y_p_e    is set to _X_m_W_O_R_K__A_R_E_A and
  638.            _X_m_N_r_a_d_i_o_B_e_h_a_v_i_o_r    is True, the default value of
  639.            _X_m_N_p_a_c_k_i_n_g is _X_m_P_A_C_K__C_O_L_U_M_N.  In    an OptionMenu the
  640.            value is    initialized to _X_m_P_A_C_K__T_I_G_H_T.  Otherwise, the
  641.            value defaults to _X_m_P_A_C_K__T_I_G_H_T.
  642.  
  643.       _X_m_N_p_o_p_u_p_E_n_a_b_l_e_d
  644.            Allows the menu system to enable    keyboard input
  645.            (accelerators and mnemonics) defined for    the Popup
  646.            MenuPane    and any    of its submenus.  The Popup MenuPane
  647.            needs to    be informed whenever its accessibility to the
  648.            user changes because posting of the Popup MenuPane is
  649.            controlled by the application.  The default value of
  650.            this resource is    True (keyboard input - accelerators
  651.            and mnemonics - defined for the Popup MenuPane and any
  652.            of its submenus is enabled).
  653.  
  654.  
  655.  
  656.  
  657.      Page 10                        (printed 11/11/03)
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.      XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))
  665.  
  666.  
  667.  
  668.       _X_m_N_r_a_d_i_o_A_l_w_a_y_s_O_n_e
  669.            If True,    forces the active ToggleButton or
  670.            ToggleButtonGadget to be    automatically selected after
  671.            having been unselected (if no other toggle was
  672.            activated).  If False, the active toggle    may be
  673.            unselected.  The    default    value is True.    This resource
  674.            is important only when _X_m_N_r_a_d_i_o_B_e_h_a_v_i_o_r is True.
  675.  
  676.            The application can always add and subtract toggles
  677.            from RowColumn regardless of the    selected/unselected
  678.            state of    the toggle.  The application can also manage
  679.            and unmanage toggle children of RowColumn at any    time
  680.            regardless of state.  Therefore,    the application    can
  681.            sometimes create    a RowColumn that has _X_m_N_r_a_d_i_o_A_l_w_a_y_s_O_n_e
  682.            set to True and none of the toggle children selected.
  683.            The result is undefined if the value of this resource
  684.            is True and the application sets    more than one
  685.            ToggleButton at a time.
  686.  
  687.       _X_m_N_r_a_d_i_o_B_e_h_a_v_i_o_r
  688.            Specifies a Boolean value that when True, indicates
  689.            that the    RowColumn widget should    enforce    a RadioBox-
  690.            type behavior on    all of its children that are
  691.            ToggleButtons or    ToggleButtonGadgets.
  692.  
  693.            When the    value of this resource is True,
  694.            _X_m_N_i_n_d_i_c_a_t_o_r_T_y_p_e    defaults to _X_m_O_N_E__O_F__M_A_N_Y for
  695.            ToggleButton and    ToggleButtonGadget children.
  696.  
  697.            RadioBox    behavior dictates that when one    toggle is
  698.            selected    and the    user selects another toggle, the first
  699.            toggle is unselected automatically.  The    RowColumn
  700.            usually does not    enforce    this behavior if the
  701.            application, rather than    the user, changes the state of
  702.            a toggle.  The RowColumn    does enforce this behavior if
  703.            a toggle    child is selected using    _X_m_T_o_g_g_l_e_B_u_t_t_o_n_S_e_t_S_t_a_t_e
  704.            or _X_m_T_o_g_g_l_e_B_u_t_t_o_n_G_a_d_g_e_t_S_e_t_S_t_a_t_e with a nnnnoooottttiiiiffffyyyy argument
  705.            of True.
  706.  
  707.            When _X_m_C_r_e_a_t_e_R_a_d_i_o_B_o_x is    called the default value of
  708.            _X_m_N_r_a_d_i_o_B_e_h_a_v_i_o_r    is True.  Otherwise, the default value
  709.            is False.
  710.  
  711.       _X_m_N_r_e_s_i_z_e_H_e_i_g_h_t
  712.            Requests    a new height if    necessary, when    set to True.
  713.            When set    to False, the widget does not request a    new
  714.            height regardless of any    changes    to the widget or its
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.      Page 11                        (printed 11/11/03)
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.      XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))
  731.  
  732.  
  733.  
  734.            children.
  735.  
  736.       _X_m_N_r_e_s_i_z_e_W_i_d_t_h
  737.            Requests    a new width if necessary, when set to True.
  738.            When set    to False, the widget does not request a    new
  739.            width regardless    of any changes to the widget or    its
  740.            children.
  741.  
  742.       _X_m_N_r_o_w_C_o_l_u_m_n_T_y_p_e
  743.            Specifies the type of RowColumn widget to be created.
  744.            It is a non-standard resource that cannot be changed
  745.            after it    is set.     If an application uses    any of the
  746.            convenience routines, except _X_m_C_r_e_a_t_e_R_o_w_C_o_l_u_m_n, this
  747.            resource    is automatically forced    to the appropriate
  748.            value by    the convenience    routine.  If an    application
  749.            uses the    Xt Intrinsics API to create its    RowColumn
  750.            widgets,    it must    specify    this resource itself.  The set
  751.            of possible settings for    this resource are:
  752.  
  753.            _X_m_W_O_R_K__A_R_E_A - the default
  754.  
  755.            _X_m_M_E_N_U__B_A_R
  756.  
  757.            _X_m_M_E_N_U__P_U_L_L_D_O_W_N
  758.  
  759.            _X_m_M_E_N_U__P_O_P_U_P
  760.  
  761.            _X_m_M_E_N_U__O_P_T_I_O_N
  762.  
  763.            This resource cannot be changed after the RowColumn
  764.            widget is created.  Any changes attempted through
  765.            _X_t_S_e_t_V_a_l_u_e_s are ignored.
  766.  
  767.            The value of this resource is used to determine the
  768.            value of    a number of other resources.  The descriptions
  769.            of RowColumn resources explain this when    it is the
  770.            case.  The resource _X_m_N_n_a_v_i_g_a_t_i_o_n_T_y_p_e, inherited    from
  771.            _X_m_M_a_n_a_g_e_r, is changed to    _X_m_N_O_N_E if _X_m_N_r_o_w_C_o_l_u_m_n_T_y_p_e is
  772.            _X_m_M_E_N_U__O_P_T_I_O_N.
  773.  
  774.       _X_m_N_s_p_a_c_i_n_g
  775.            Specifies the horizontal    and vertical spacing between
  776.            items contained within the RowColumn widget.  The
  777.            default value is    3 pixels for _X_m_O_P_T_I_O_N__M_E_N_U and
  778.            _X_m_W_O_R_K__A_R_E_A and 0 for other RowColumn types.
  779.  
  780.       _X_m_N_s_u_b_M_e_n_u_I_d
  781.            Specifies the widget ID for the Pulldown    MenuPane to be
  782.            associated with an OptionMenu.  This resource is    useful
  783.            only when _X_m_N_r_o_w_C_o_l_u_m_n_T_y_p_e is set to _X_m_M_E_N_U__O_P_T_I_O_N.
  784.            The default value is NULL.
  785.  
  786.  
  787.  
  788.  
  789.      Page 12                        (printed 11/11/03)
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.      XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))
  797.  
  798.  
  799.  
  800.       _X_m_N_t_e_a_r_O_f_f_M_e_n_u_A_c_t_i_v_a_t_e_C_a_l_l_b_a_c_k
  801.            Specifies the callback list that    notifies the
  802.            application when    the tear-off MenuPane is about to be
  803.            activated.  It precedes the tear-off's map callback.
  804.  
  805.            Use this    resource when your application has shared
  806.            MenuPanes and when the torn-off menu can    have two or
  807.            more parents that can have opposing sensitivity states
  808.            for the same menu item.    This resource enables the
  809.            application to track whether a menu item    is sensitive
  810.            or insensitive and to set the state to the original
  811.            parent's    menu item state    when the torn-off menu is
  812.            reposted. The application can use _X_m_G_e_t_P_o_s_t_e_d_F_r_o_m_W_i_d_g_e_t
  813.            to determine from which parent the menu was torn.  The
  814.            callback    reason is _X_m_C_R__T_E_A_R__O_F_F__A_C_T_I_V_A_T_E.  The default
  815.            is NULL.
  816.  
  817.       _X_m_N_t_e_a_r_O_f_f_M_e_n_u_D_e_a_c_t_i_v_a_t_e_C_a_l_l_b_a_c_k
  818.            Specifies the callback list that    notifies the
  819.            application when    the tear-off MenuPane is about to be
  820.            deactivated.  It    follows    the tear-off's unmap callback.
  821.  
  822.            Use this    resource when your application has shared
  823.            MenuPanes and when the torn-off menu can    have two or
  824.            more parents that can have opposing sensitivity states
  825.            for the same menu item.    This resource enables the
  826.            application to track whether a menu item    is sensitive
  827.            or insensitive and to set the state to the original
  828.            parent's    menu item state    when the torn-off menu is
  829.            reposted. The application can use _X_m_G_e_t_P_o_s_t_e_d_F_r_o_m_W_i_d_g_e_t
  830.            to determine from which parent the menu was torn.  The
  831.            callback    reason is _X_m_C_R__T_E_A_R__O_F_F__D_E_A_C_T_I_V_A_T_E.  The
  832.            default is NULL.
  833.  
  834.       _X_m_N_t_e_a_r_O_f_f_M_o_d_e_l
  835.            Indicates whether tear-off functionality    is enabled or
  836.            disabled    when _X_m_N_r_o_w_C_o_l_u_m_n_T_y_p_e is set to
  837.            _X_m_M_E_N_U__P_U_L_L_D_O_W_N or _X_m_M_E_N_U__P_O_P_U_P.     The values are:
  838.            _X_m_T_E_A_R__O_F_F__E_N_A_B_L_E_D or _X_m_T_E_A_R__O_F_F__D_I_S_A_B_L_E_D (default
  839.            value).    This resource is invalid for type
  840.            _X_m_M_E_N_U__O_P_T_I_O_N; however, it does affect any pulldown
  841.            submenus    within an OptionMenu.  The function
  842.            _X_m_R_e_p_T_y_p_e_I_n_s_t_a_l_l_T_e_a_r_O_f_f_M_o_d_e_l_C_o_n_v_e_r_t_e_r installs a
  843.            resource    converter for this resource.
  844.  
  845.       _X_m_N_u_n_m_a_p_C_a_l_l_b_a_c_k
  846.            Specifies a list    of callbacks that is called after the
  847.            window associated with the RowColumn widget has been
  848.            unmapped.  The callback reason is _X_m_C_R__U_N_M_A_P.  The
  849.            default value is    NULL.
  850.  
  851.       _X_m_N_w_h_i_c_h_B_u_t_t_o_n
  852.  
  853.  
  854.  
  855.      Page 13                        (printed 11/11/03)
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.      XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))
  863.  
  864.  
  865.  
  866.            This resource is    obsolete; it has been replaced by
  867.            _X_m_N_m_e_n_u_P_o_s_t and is present for compatibility with older
  868.            releases    of 1/Motif.
  869.  
  870.  
  871.  
  872.               XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  873.      NNNNaaaammmmeeee        CCCCllllaaaassssssss           TTTTyyyyppppeeee       DDDDeeeeffffaaaauuuulllltttt         AAAAcccccccceeeessssssss
  874.      ______________________________________________________________________
  875.      XmNpositionIndex    XmCPositionIndex   short   XmLAST_POSITION   CSG
  876.  
  877.  
  878.       _X_m_N_p_o_s_i_t_i_o_n_I_n_d_e_x
  879.            Specifies the position of the widget in its parent's
  880.            list of children    (the value of the _X_m_N_c_h_i_l_d_r_e_n
  881.            resource).  The value is    an integer that    is no less
  882.            than zero and no    greater    than the number    of children in
  883.            the list    at the time the    value is specified.  A value
  884.            of zero means that the child is placed at the beginning
  885.            of the list.  The value can also    be  specified as
  886.            _X_m_L_A_S_T__P_O_S_I_T_I_O_N (the default), which means that the
  887.            child is    placed at the end of the list.    Any other
  888.            value is    ignored.  _X_t_G_e_t_V_a_l_u_e_s returns the position of
  889.            the widget in its parent's child    list at    the time of
  890.            the call    to _X_t_G_e_t_V_a_l_u_e_s.
  891.  
  892.            When a widget is    inserted into its parent's child list,
  893.            the positions of    any existing children that are greater
  894.            than or equal to    the specified widget's
  895.            _X_m_N_p_o_s_i_t_i_o_n_I_n_d_e_x    are increased by one.  The effect of a
  896.            call to _X_t_S_e_t_V_a_l_u_e_s for _X_m_N_p_o_s_i_t_i_o_n_I_n_d_e_x    is to remove
  897.            the specified widget from its parent's child list,
  898.            decrease    by one the positions of    any existing children
  899.            that are    greater    than the specified widget's former
  900.            position    in the list, and then insert the specified
  901.            widget into its parent's    child list as described    in the
  902.            preceding sentence.
  903.  
  904.                     SSSSiiiimmmmpppplllleeee MMMMeeeennnnuuuu    CCCCrrrreeeeaaaattttiiiioooonnnn RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  905.      NNNNaaaammmmeeee             CCCCllllaaaassssssss                 TTTTyyyyppppeeee            DDDDeeeeffffaaaauuuulllltttt   AAAAcccccccceeeessssssss
  906.      _______________________________________________________________________________________________
  907.      XmNbuttonAccelerators     XmCButtonAccelerators         StringTable        NULL      C
  908.      XmNbuttonAcceleratorText     XmCButtonAcceleratorText    XmStringTable        NULL      C
  909.      XmNbuttonCount         XmCButtonCount             int            0          C
  910.      XmNbuttonMnemonicCharSets     XmCButtonMnemonicCharSets   XmStringCharSetTable   NULL      C
  911.      XmNbuttonMnemonics         XmCButtonMnemonics         XmKeySymTable        NULL      C
  912.      XmNbuttons             XmCButtons             XmStringTable        NULL      C
  913.      XmNbuttonSet         XmCButtonSet             int            -1          C
  914.      XmNbuttonType         XmCButtonType             XmButtonTypeTable        NULL      C
  915.      XmNoptionLabel         XmCOptionLabel             XmString            NULL      C
  916.  
  917.  
  918.  
  919.  
  920.  
  921.      Page 14                        (printed 11/11/03)
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.      XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))
  929.  
  930.  
  931.  
  932.      XmNoptionMnemonic         XmCOptionMnemonic         KeySym            NULL      C
  933.      XmNpostFromButton         XmCPostFromButton         int            -1          C
  934.      XmNsimpleCallback         XmCCallback             XtCallbackProc        NULL      C
  935.  
  936.  
  937.       _X_m_N_b_u_t_t_o_n_A_c_c_e_l_e_r_a_t_o_r_s
  938.            This resource is    for use    with the simple    menu creation
  939.            routines.  It specifies a list of accelerators for the
  940.            buttons created.     The list contains one element for
  941.            each button, separator, and title created.
  942.  
  943.       _X_m_N_b_u_t_t_o_n_A_c_c_e_l_e_r_a_t_o_r_T_e_x_t
  944.            This resource is    for use    with the simple    menu creation
  945.            routines.  It specifies a list of compound strings to
  946.            display for the accelerators for    the buttons created.
  947.            The list    contains one element for each button,
  948.            separator, and title created.
  949.  
  950.       _X_m_N_b_u_t_t_o_n_C_o_u_n_t
  951.            This resource is    for use    with the simple    menu creation
  952.            routines.  It specifies the total number    of menu
  953.            buttons,    separators, and    titles to create.  The value
  954.            must not    be negative.
  955.  
  956.       _X_m_N_b_u_t_t_o_n_M_n_e_m_o_n_i_c_C_h_a_r_S_e_t_s
  957.            This resource is    for use    with the simple    menu creation
  958.            routines.  It specifies a list of character sets    with
  959.            which button mnemonics are to be    displayed.  The    list
  960.            contains    one element for    each button, separator,    and
  961.            title created.  The default is determined dynamically
  962.            depending on the    locale of the widget.
  963.  
  964.       _X_m_N_b_u_t_t_o_n_M_n_e_m_o_n_i_c_s
  965.            This resource is    for use    with the simple    menu creation
  966.            routines.  It specifies a list of mnemonics for the
  967.            buttons created.     The list contains one element for
  968.            each button, separator, and title created.
  969.  
  970.       _X_m_N_b_u_t_t_o_n_s
  971.            This resource is    for use    with the simple    menu creation
  972.            routines.  It specifies a list of compound strings to
  973.            use as labels for the buttons created.  The list
  974.            contains    one element for    each button, separator,    and
  975.            title created.
  976.  
  977.       _X_m_N_b_u_t_t_o_n_S_e_t
  978.            This resource is    for use    with the simple    menu creation
  979.            routines.  It specifies which button of a RadioBox or
  980.            OptionMenu Pulldown submenu is initially    set.  The
  981.            value is    an integer nnnn indicating    the nnnnth
  982.            ToggleButtonGadget specified for    a RadioBox or the nnnnth
  983.            PushButtonGadget    specified for an OptionMenu Pulldown
  984.  
  985.  
  986.  
  987.      Page 15                        (printed 11/11/03)
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.      XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))
  995.  
  996.  
  997.  
  998.            submenu.     The first button specified is number 0.  The
  999.            value must not be negative.
  1000.  
  1001.       _X_m_N_b_u_t_t_o_n_T_y_p_e
  1002.            This resource is    for use    with the simple    menu creation
  1003.            routines.  It specifies a list of button    types
  1004.            associated with the buttons to be created.  The list
  1005.            contains    one element for    each button, separator,    and
  1006.            title created.  If this resource    is not specified, each
  1007.            button in a MenuBar is a    CascadeButtonGadget, each
  1008.            button in a RadioBox or CheckBox    is a
  1009.            ToggleButtonGadget, and each button in any other    type
  1010.            of RowColumn widget is a    PushButtonGadget.  Each    button
  1011.            type is of type _X_m_B_u_t_t_o_n_T_y_p_e, an    enumeration with the
  1012.            following possible values:
  1013.  
  1014.            _X_m_C_A_S_C_A_D_E_B_U_T_T_O_N - Specifies a CascadeButtonGadget for a
  1015.            MenuBar,    Popup MenuPane,    or Pulldown MenuPane.
  1016.  
  1017.            _X_m_C_H_E_C_K_B_U_T_T_O_N - Specifies a ToggleButtonGadget for a
  1018.            CheckBox, Popup MenuPane, or Pulldown MenuPane.
  1019.  
  1020.            _X_m_D_O_U_B_L_E__S_E_P_A_R_A_T_O_R - Specifies a    SeparatorGadget    for a
  1021.            Popup MenuPane, Pulldown    MenuPane, or OptionMenu
  1022.            Pulldown    submenu.  The separator    type is    _X_m_D_O_U_B_L_E__L_I_N_E.
  1023.  
  1024.            _X_m_P_U_S_H_B_U_T_T_O_N - Specifies    a PushButtonGadget for a Popup
  1025.            MenuPane, Pulldown MenuPane, or OptionMenu Pulldown
  1026.            submenu.
  1027.  
  1028.            _X_m_R_A_D_I_O_B_U_T_T_O_N - Specifies a ToggleButtonGadget for a
  1029.            RadioBox, Popup MenuPane, or Pulldown MenuPane.
  1030.  
  1031.            _X_m_S_E_P_A_R_A_T_O_R - Specifies a SeparatorGadget for a Popup
  1032.            MenuPane, Pulldown MenuPane, or OptionMenu Pulldown
  1033.            submenu.
  1034.  
  1035.            _X_m_T_I_T_L_E - Specifies a LabelGadget used as a title for a
  1036.            Popup MenuPane or Pulldown MenuPane.
  1037.  
  1038.       _X_m_N_o_p_t_i_o_n_L_a_b_e_l
  1039.            This resource is    for use    with the simple    menu creation
  1040.            routines.  It specifies a compound string for the label
  1041.            string to be used on the    left side of an    OptionMenu.
  1042.  
  1043.       _X_m_N_o_p_t_i_o_n_M_n_e_m_o_n_i_c
  1044.            This resource is    for use    with the simple    menu creation
  1045.            routines.  It specifies a keysym    for a key that,    when
  1046.            pressed by the user along with the _M_A_l_t modifier, posts
  1047.            the associated Pulldown MenuPane    for an OptionMenu.
  1048.  
  1049.       _X_m_N_p_o_s_t_F_r_o_m_B_u_t_t_o_n
  1050.  
  1051.  
  1052.  
  1053.      Page 16                        (printed 11/11/03)
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.      XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))
  1061.  
  1062.  
  1063.  
  1064.            This resource is    for use    with the simple    menu creation
  1065.            routines.  For a    Pulldown MenuPane, it specifies    the
  1066.            button in the parent to which the submenu is attached.
  1067.            The menu    is then    posted from this button.  The value is
  1068.            an integer nnnn indicating the nnnnth CascadeButton or
  1069.            CascadeButtonGadget specified for the parent of the
  1070.            Pulldown    MenuPane.  The first button specified is
  1071.            number 0.  The value must not be    negative.
  1072.  
  1073.       _X_m_N_s_i_m_p_l_e_C_a_l_l_b_a_c_k
  1074.            This resource is    for use    with the simple    menu creation
  1075.            routines.  It specifies a callback procedure to be
  1076.            called when a button is activated or when its value
  1077.            changes.     This callback function    is added to each
  1078.            button after creation.  For a CascadeButtonGadget or a
  1079.            PushButtonGadget, the callback is added as the button's
  1080.            _X_m_N_a_c_t_i_v_a_t_e_C_a_l_l_b_a_c_k, and    it is called when the button
  1081.            is activated.  For a ToggleButtonGadget,    the callback
  1082.            is added    as the button's    _X_m_N_v_a_l_u_e_C_h_a_n_g_e_d_C_a_l_l_b_a_c_k, and
  1083.            it is called when the button's value changes.  The
  1084.            button number is    passed in the cccclllliiiieeeennnntttt____ddddaaaattttaaaa field.
  1085.  
  1086.     IIIInnnnhhhheeeerrrriiiitttteeeedddd RRRReeeessssoooouuuurrrrcccceeeessss
  1087.       RowColumn inherits behavior and resources from the following
  1088.       named    superclasses.  For a complete description of each
  1089.       resource, refer to the man page for that superclass.
  1090.  
  1091.                       XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  1092.      NNNNaaaammmmeeee             CCCCllllaaaassssssss             TTTTyyyyppppeeee         DDDDeeeeffffaaaauuuulllltttt        AAAAcccccccceeeessssssss
  1093.      _________________________________________________________________________________________________
  1094.      XmNbottomShadowColor    XmCBottomShadowColor    Pixel         dynamic        CSG
  1095.      XmNbottomShadowPixmap   XmCBottomShadowPixmap   Pixmap         XmUNSPECIFIED_PIXMAP    CSG
  1096.      XmNforeground         XmCForeground         Pixel         dynamic        CSG
  1097.      XmNhelpCallback         XmCCallback         XtCallbackList     NULL            C
  1098.      XmNhighlightColor         XmCHighlightColor         Pixel         dynamic        CSG
  1099.      XmNhighlightPixmap         XmCHighlightPixmap         Pixmap         dynamic        CSG
  1100.      XmNinitialFocus         XmCInitialFocus         Widget         NULL            CSG
  1101.      XmNnavigationType         XmCNavigationType         XmNavigationType     dynamic        CSG
  1102.      XmNshadowThickness         XmCShadowThickness         Dimension         dynamic        CSG
  1103.      XmNstringDirection         XmCStringDirection         XmStringDirection     dynamic        CG
  1104.      XmNtopShadowColor         XmCTopShadowColor         Pixel         dynamic        CSG
  1105.      XmNtopShadowPixmap         XmCTopShadowPixmap         Pixmap         dynamic        CSG
  1106.      XmNtraversalOn         XmCTraversalOn         Boolean         dynamic        CSG
  1107.      XmNunitType         XmCUnitType         unsigned char     dynamic        CSG
  1108.      XmNuserData         XmCUserData         XtPointer         NULL            CSG
  1109.  
  1110.  
  1111.                   CCCCoooommmmppppoooossssiiiitttteeee RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  1112.      NNNNaaaammmmeeee         CCCCllllaaaassssssss             TTTTyyyyppppeeee       DDDDeeeeffffaaaauuuulllltttt           AAAAcccccccceeeessssssss
  1113.      ________________________________________________________________________________
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.      Page 17                        (printed 11/11/03)
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.      XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))
  1127.  
  1128.  
  1129.  
  1130.      XmNchildren     XmCReadOnly         WidgetList       NULL               G
  1131.      XmNinsertPosition     XmCInsertPosition   XtOrderProc   default procedure   CSG
  1132.      XmNnumChildren     XmCReadOnly         Cardinal       0               G
  1133.  
  1134.  
  1135.                            CCCCoooorrrreeee    RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  1136.      NNNNaaaammmmeeee                 CCCCllllaaaassssssss                 TTTTyyyyppppeeee          DDDDeeeeffffaaaauuuulllltttt             AAAAcccccccceeeessssssss
  1137.      ______________________________________________________________________________________________________________
  1138.      XmNaccelerators             XmCAccelerators             XtAccelerators   dynamic             CSG
  1139.      XmNancestorSensitive         XmCSensitive             Boolean          dynamic             G
  1140.      XmNbackground             XmCBackground             Pixel          dynamic             CSG
  1141.      XmNbackgroundPixmap         XmCPixmap                 Pixmap          XmUNSPECIFIED_PIXMAP   CSG
  1142.      XmNborderColor             XmCBorderColor             Pixel          XtDefaultForeground    CSG
  1143.      XmNborderPixmap             XmCPixmap                 Pixmap          XmUNSPECIFIED_PIXMAP   CSG
  1144.      XmNborderWidth             XmCBorderWidth             Dimension          0                 CSG
  1145.      XmNcolormap             XmCColormap             Colormap          dynamic             CG
  1146.      XmNdepth                 XmCDepth                 int          dynamic             CG
  1147.      XmNdestroyCallback             XmCCallback             XtCallbackList   NULL             C
  1148.      XmNheight                 XmCHeight                 Dimension          dynamic             CSG
  1149.      XmNinitialResourcesPersistent   XmCInitialResourcesPersistent   Boolean          True             C
  1150.      XmNmappedWhenManaged         XmCMappedWhenManaged         Boolean          True             CSG
  1151.      XmNscreen                 XmCScreen                 Screen *          dynamic             CG
  1152.      XmNsensitive             XmCSensitive             Boolean          True             CSG
  1153.      XmNtranslations             XmCTranslations             XtTranslations   dynamic             CSG
  1154.      XmNwidth                 XmCWidth                 Dimension          dynamic             CSG
  1155.      XmNx                 XmCPosition             Position          0                 CSG
  1156.      XmNy                 XmCPosition             Position          0                 CSG
  1157.  
  1158.  
  1159.     CCCCaaaallllllllbbbbaaaacccckkkk IIIInnnnffffoooorrrrmmmmaaaattttiiiioooonnnn
  1160.       A pointer to the following structure is passed to each
  1161.       callback:
  1162.       typedef struct
  1163.       {
  1164.         int         rrrreeeeaaaassssoooonnnn;
  1165.         _X_E_v_e_n_t   **** eeeevvvveeeennnntttt;
  1166.         _W_i_d_g_e_t   wwwwiiiiddddggggeeeetttt;
  1167.         _c_h_a_r     **** ddddaaaattttaaaa;
  1168.         _c_h_a_r     **** ccccaaaallllllllbbbbaaaacccckkkkssssttttrrrruuuucccctttt;
  1169.       } _X_m_R_o_w_C_o_l_u_m_n_C_a_l_l_b_a_c_k_S_t_r_u_c_t;
  1170.  
  1171.       rrrreeeeaaaassssoooonnnn
  1172.            Indicates why the callback was invoked
  1173.  
  1174.       eeeevvvveeeennnntttt
  1175.            Points to the _X_E_v_e_n_t that triggered the callback
  1176.  
  1177.            The following fields apply only when the    callback
  1178.            reason is _X_m_C_R__A_C_T_I_V_A_T_E;    for all    other callback
  1179.            reasons,    these fields are set to    NULL.  The
  1180.            _X_m_C_R__A_C_T_I_V_A_T_E callback reason is    generated only when
  1181.            the application has supplied an entry callback, which
  1182.  
  1183.  
  1184.  
  1185.      Page 18                        (printed 11/11/03)
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.      XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))
  1193.  
  1194.  
  1195.  
  1196.            overrides any activation    callbacks registered with the
  1197.            individual RowColumn items.
  1198.  
  1199.       wwwwiiiiddddggggeeeetttt
  1200.            Is set to the widget ID of the RowColumn    item that has
  1201.            been activated
  1202.  
  1203.       ddddaaaattttaaaa Contains    the client-data    value supplied by the
  1204.            application when    the RowColumn item's activation
  1205.            callback    was registered
  1206.  
  1207.       ccccaaaallllllllbbbbaaaacccckkkkssssttttrrrruuuucccctttt
  1208.            Points to the callback structure    generated by the
  1209.            RowColumn item's    activation callback
  1210.  
  1211.     TTTTrrrraaaannnnssssllllaaaattttiiiioooonnnnssss
  1212.       XmRowColumn translations depend on the value of the
  1213.       _X_m_N_r_o_w_C_o_l_u_m_n_T_y_p_e resource.
  1214.  
  1215.       If _X_m_N_r_o_w_C_o_l_u_m_n_T_y_p_e is set to    _X_m_W_O_R_K__A_R_E_A, XmRowColumn
  1216.       inherits translations    from XmManager.
  1217.  
  1218.       If _X_m_N_r_o_w_C_o_l_u_m_n_T_y_p_e is set to    _X_m_M_E_N_U__O_P_T_I_O_N, XmRowColumn
  1219.       inherits traversal, KActivate, and KCancel translations from
  1220.       XmManager and    has the    additional translations    listed below.
  1221.       These    translations may not directly correspond to a
  1222.       translation table.
  1223.       BSelect Press: MenuBtnDown()
  1224.       BSelect Release:MenuBtnUp()
  1225.       KSelect:     ManagerGadgetSelect()
  1226.       KHelp:     Help()
  1227.  
  1228.       The translations for XmRowColumn if _X_m_N_r_o_w_C_o_l_u_m_n_T_y_p_e is set
  1229.       to _X_m_M_E_N_U__B_A_R    _X_m_M_E_N_U__P_U_L_L_D_O_W_N, or _X_m_M_E_N_U__P_O_P_U_P are listed
  1230.       below.  In a Popup menu system, _B_M_e_n_u    also performs the
  1231.       _B_S_e_l_e_c_t actions.  When the value of the XmDisplay resource
  1232.       _e_n_a_b_l_e_M_e_n_u_I_n_C_a_s_c_a_d_e is True, _B_M_e_n_u also performs the _B_S_e_l_e_c_t
  1233.       actions in all types of menu systems.     These translations
  1234.       may not directly correspond to a translation table.
  1235.       BSelect Press: MenuBtnDown()
  1236.       BSelect Release:MenuBtnUp()
  1237.       KActivate:     ManagerGadgetSelect()
  1238.       KSelect:     ManagerGadgetSelect()
  1239.       MAny KCancel:     MenuGadgetEscape()
  1240.       KHelp:     Help()
  1241.       KLeft:     MenuGadgetTraverseLeft()
  1242.       KRight:     MenuGadgetTraverseRight()
  1243.       KUp:         MenuGadgetTraverseUp()
  1244.       KDown:     MenuGadgetTraverseDown()
  1245.  
  1246.     AAAAccccttttiiiioooonnnn RRRRoooouuuuttttiiiinnnneeeessss
  1247.       The XmRowColumn action routines are described    below:
  1248.  
  1249.  
  1250.  
  1251.      Page 19                        (printed 11/11/03)
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.      XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))
  1259.  
  1260.  
  1261.  
  1262.       _H_e_l_p():
  1263.            Calls the callbacks for _X_m_N_h_e_l_p_C_a_l_l_b_a_c_k if any exist.
  1264.            If there    are no help callbacks for this widget, this
  1265.            action calls the    help callbacks for the nearest
  1266.            ancestor    that has them.
  1267.  
  1268.       _M_a_n_a_g_e_r_G_a_d_g_e_t_S_e_l_e_c_t():
  1269.            When a gadget child of the menu has the focus, invokes
  1270.            the gadget child's behavior associated with _K_S_e_l_e_c_t.
  1271.            This generally has the effect of    unposting the menu
  1272.            hierarchy and arming and    activating the gadget, except
  1273.            that for    a CascadeButtonGadget with a submenu, it posts
  1274.            the submenu.
  1275.  
  1276.       _M_e_n_u_B_t_n_D_o_w_n():
  1277.            When a gadget child of the menu has the focus, invokes
  1278.            the gadget child's behavior associated with _B_S_e_l_e_c_t
  1279.            _P_r_e_s_s.  This generally has the effect of    unposting any
  1280.            menus posted by the parent menu,    enabling mouse
  1281.            traversal in the    menu, and arming the gadget.  For a
  1282.            CascadeButtonGadget with    a submenu, it also posts the
  1283.            associated submenu.
  1284.  
  1285.       _M_e_n_u_B_t_n_U_p():
  1286.            When a gadget child of the menu has the focus, invokes
  1287.            the gadget child's behavior associated with _B_S_e_l_e_c_t
  1288.            _R_e_l_e_a_s_e.     This generally    has the    effect of unposting
  1289.            the menu    hierarchy and activating the gadget, except
  1290.            that for    a CascadeButtonGadget with a submenu, it posts
  1291.            the submenu and enables keyboard    traversal in the menu.
  1292.  
  1293.       _M_e_n_u_G_a_d_g_e_t_E_s_c_a_p_e():
  1294.            In a toplevel Pulldown MenuPane from a MenuBar, unposts
  1295.            the menu, disarms the MenuBar CascadeButton and the
  1296.            MenuBar,    and, when the shell's keyboard focus policy is
  1297.            _X_m_E_X_P_L_I_C_I_T, restores keyboard focus to the widget that
  1298.            had the focus before the    MenuBar    was entered.  In other
  1299.            Pulldown    MenuPanes, unposts the menu.
  1300.  
  1301.            In a Popup MenuPane, unposts the    menu and, when the
  1302.            shell's keyboard    focus policy is    _X_m_E_X_P_L_I_C_I_T, restores
  1303.            keyboard    focus to the widget from which the menu    was
  1304.            posted.    In a TearOff MenuPane that has no submenus
  1305.            posted, dismisses the menu; otherwise, if one or    more
  1306.            submenus    are posted, unposts the    last menu pane.
  1307.  
  1308.       _M_e_n_u_G_a_d_g_e_t_T_r_a_v_e_r_s_e_D_o_w_n():
  1309.            If the current menu item    has a submenu and is in    a
  1310.            MenuBar,    then this action posts the submenu, disarms
  1311.            the current menu    item, and arms the submenu's first
  1312.            traversable menu    item.
  1313.  
  1314.  
  1315.  
  1316.  
  1317.      Page 20                        (printed 11/11/03)
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.      XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))
  1325.  
  1326.  
  1327.  
  1328.            If the current menu item    is in a    MenuPane, then this
  1329.            action disarms the current menu item and    arms the item
  1330.            below it.  This action wraps within the MenuPane.  When
  1331.            the current menu    item is    at the MenuPane's bottom edge,
  1332.            then this action    wraps to the topmost menu item in the
  1333.            column to the right, if one exists.  When the current
  1334.            menu item is at the bottom, rightmost corner of the
  1335.            MenuPane, then this action wraps    to the tear-off
  1336.            control,    if present, or to the top, leftmost menu item.
  1337.  
  1338.       _M_e_n_u_G_a_d_g_e_t_T_r_a_v_e_r_s_e_L_e_f_t():
  1339.            When the    current    menu item is in    a MenuBar, then    this
  1340.            action disarms the current item and arms    the MenuBar
  1341.            item to the left.  This action wraps within the
  1342.            MenuBar.
  1343.  
  1344.            In MenuPanes, if    the current menu item is not at    the
  1345.            left edge of a MenuPane,    this action disarms the
  1346.            current item and    arms the item to its left.  If the
  1347.            current menu item is at the left    edge of    a submenu
  1348.            attached    to a MenuBar item, then    this action unposts
  1349.            the submenu and traverses to the    MenuBar    item to    the
  1350.            left, wrapping if necessary.  If    that MenuBar item has
  1351.            a submenu, it posts the submenu and arms    the first
  1352.            traversable item    in the submenu.     If the    current    menu
  1353.            item is at the left edge    of a submenu not directly
  1354.            attached    to a MenuBar item, then    this action unposts
  1355.            the current submenu only.
  1356.  
  1357.            In Popup    or Torn-off MenuPanes, when the    current    menu
  1358.            item is at the left edge, this  action wraps within the
  1359.            MenuPane.  If the current menu item is at the left edge
  1360.            of the MenuPane and not in the top row, this action
  1361.            wraps to    the rightmost menu item    in the row above.  If
  1362.            the current menu    item is    in the upper, leftmost corner,
  1363.            this action wraps to the    tear-off control, if present,
  1364.            or else it wraps    to the bottom, rightmost menu item in
  1365.            the MenuPane.
  1366.  
  1367.       _M_e_n_u_G_a_d_g_e_t_T_r_a_v_e_r_s_e_R_i_g_h_t():
  1368.            If the current menu item    is in a    MenuBar, then this
  1369.            action disarms the current item and arms    the MenuBar
  1370.            item to the right.  This    action wraps within the
  1371.            MenuBar.
  1372.  
  1373.            In MenuPanes, if    the current menu item is a
  1374.            CascadeButton, then this    action posts its associated
  1375.            submenu.     If the    current    menu item is not a
  1376.            CascadeButton and is not    at the right edge of a
  1377.            MenuPane, this action disarms the current item and arms
  1378.            the item    to its right, wrapping if necessary.  If the
  1379.            current menu item is not    a CascadeButton    and is at the
  1380.  
  1381.  
  1382.  
  1383.      Page 21                        (printed 11/11/03)
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.      XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))
  1391.  
  1392.  
  1393.  
  1394.            right edge of a submenu that is a descendent of a
  1395.            MenuBar,    then this action unposts all submenus and
  1396.            traverses to the    MenuBar    item to    the right.  If that
  1397.            MenuBar item has    a submenu, it posts the    submenu    and
  1398.            arms the    submenu's first    traversable item.
  1399.  
  1400.            In Popup    or Torn-off menus, if the current menu item is
  1401.            not a CascadeButton and is at the right edge of a row
  1402.            (except the bottom row),    this action wraps to the
  1403.            leftmost    menu item in the row below.  If    the current
  1404.            menu item is not    a CascadeButton    and is in the bottom,
  1405.            rightmost corner    of a Popup or Pulldown MenuPane, this
  1406.            action wraps to the tear-off control, if    present, or
  1407.            else it wraps to    the top, leftmost menu item of the
  1408.            MenuPane.
  1409.  
  1410.       _M_e_n_u_G_a_d_g_e_t_T_r_a_v_e_r_s_e_U_p():
  1411.            When the    current    menu item is in    a MenuPane, then this
  1412.            action disarms the current menu item and    arms the item
  1413.            above it.  This action wraps within the MenuPane.  When
  1414.            the current menu    item is    at the MenuPane's top edge,
  1415.            then this action    wraps to the bottommost    menu item in
  1416.            the column to the left, if one exists.  When the
  1417.            current menu item is at the top,    leftmost corner    of the
  1418.            MenuPane, then this action wraps    to the tear-off
  1419.            control,    if present, or to the bottom, rightmost    menu
  1420.            item.
  1421.  
  1422.     RRRReeeellllaaaatttteeeedddd    BBBBeeeehhhhaaaavvvviiiioooorrrr
  1423.       The following    menu functions are available.
  1424.  
  1425.       _K_M_e_n_u_B_a_r:
  1426.            In any non-popup    descendant of a    MenuBar's parent,
  1427.            excluding the MenuBar itself, this action enables
  1428.            keyboard    traversal and moves keyboard focus to the
  1429.            first item in the MenuBar. In the MenuBar or any    menu
  1430.            cascaded    from it, this action unposts the menu
  1431.            hierarchy and, when the shell's keyboard    focus policy
  1432.            is _X_m_E_X_P_L_I_C_I_T, restores focus to    the widget that    had
  1433.            the focus when the menu system was entered.
  1434.  
  1435.       _K_M_e_n_u:
  1436.            Pops up the menu    associated with    the control that has
  1437.            the keyboard focus.  Enables keyboard traversal in the
  1438.            menu.  In the Popup menu    system or any menu cascaded
  1439.            from it,    this action unposts the    menu hierarchy and,
  1440.            when the    shell's    keyboard focus policy is _X_m_E_X_P_L_I_C_I_T,
  1441.            restores    focus to the widget that had the focus when
  1442.            the menu    system was entered.
  1443.  
  1444.     VVVViiiirrrrttttuuuuaaaallll    BBBBiiiinnnnddddiiiinnnnggggssss
  1445.       The bindings for virtual keys    are vendor specific.  For
  1446.  
  1447.  
  1448.  
  1449.      Page 22                        (printed 11/11/03)
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.      XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn((((3333XXXX))))
  1457.  
  1458.  
  1459.  
  1460.       information about bindings for virtual buttons and keys, see
  1461.       _V_i_r_t_u_a_l_B_i_n_d_i_n_g_s(_3_X).
  1462.  
  1463.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  1464.       _C_o_m_p_o_s_i_t_e(_3_X), _C_o_n_s_t_r_a_i_n_t(_3_X), _C_o_r_e(_3_X),
  1465.       _X_m_C_r_e_a_t_e_M_e_n_u_B_a_r(_3_X), _X_m_C_r_e_a_t_e_O_p_t_i_o_n_M_e_n_u(_3_X),
  1466.       _X_m_C_r_e_a_t_e_P_o_p_u_p_M_e_n_u(_3_X), _X_m_C_r_e_a_t_e_P_u_l_l_d_o_w_n_M_e_n_u(_3_X),
  1467.       _X_m_C_r_e_a_t_e_R_a_d_i_o_B_o_x(_3_X),    _X_m_C_r_e_a_t_e_R_o_w_C_o_l_u_m_n(_3_X),
  1468.       _X_m_C_r_e_a_t_e_S_i_m_p_l_e_C_h_e_c_k_B_o_x(_3_X), _X_m_C_r_e_a_t_e_S_i_m_p_l_e_M_e_n_u_B_a_r(_3_X),
  1469.       _X_m_C_r_e_a_t_e_S_i_m_p_l_e_O_p_t_i_o_n_M_e_n_u(_3_X),    _X_m_C_r_e_a_t_e_S_i_m_p_l_e_P_o_p_u_p_M_e_n_u(_3_X),
  1470.       _X_m_C_r_e_a_t_e_S_i_m_p_l_e_P_u_l_l_d_o_w_n_M_e_n_u(_3_X), _X_m_C_r_e_a_t_e_S_i_m_p_l_e_R_a_d_i_o_B_o_x(_3_X),
  1471.       _X_m_C_r_e_a_t_e_W_o_r_k_A_r_e_a(_3_X),    _X_m_D_i_s_p_l_a_y(_3_X), _X_m_G_e_t_M_e_n_u_C_u_r_s_o_r(_3_X),
  1472.       _X_m_G_e_t_P_o_s_t_e_d_F_r_o_m_W_i_d_g_e_t(_3_X), _X_m_G_e_t_T_e_a_r_O_f_f_C_o_n_t_r_o_l, _X_m_L_a_b_e_l(_3_X),
  1473.       _X_m_M_a_n_a_g_e_r(_3_X), _X_m_M_e_n_u_P_o_s_i_t_i_o_n(_3_X), _X_m_O_p_t_i_o_n_B_u_t_t_o_n_G_a_d_g_e_t(_3_X),
  1474.       _X_m_O_p_t_i_o_n_L_a_b_e_l_G_a_d_g_e_t(_3_X),
  1475.       _X_m_R_e_p_T_y_p_e_I_n_s_t_a_l_l_T_e_a_r_O_f_f_M_o_d_e_l_C_o_n_v_e_r_t_e_r, _X_m_S_e_t_M_e_n_u_C_u_r_s_o_r(_3_X),
  1476.       _X_m_U_p_d_a_t_e_D_i_s_p_l_a_y(_3_X), _X_m_V_a_C_r_e_a_t_e_S_i_m_p_l_e_C_h_e_c_k_B_o_x(_3_X),
  1477.       _X_m_V_a_C_r_e_a_t_e_S_i_m_p_l_e_M_e_n_u_B_a_r(_3_X), _X_m_V_a_C_r_e_a_t_e_S_i_m_p_l_e_O_p_t_i_o_n_M_e_n_u(_3_X),
  1478.       _X_m_V_a_C_r_e_a_t_e_S_i_m_p_l_e_P_o_p_u_p_M_e_n_u(_3_X),
  1479.       _X_m_V_a_C_r_e_a_t_e_S_i_m_p_l_e_P_u_l_l_d_o_w_n_M_e_n_u(_3_X), and
  1480.       _X_m_V_a_C_r_e_a_t_e_S_i_m_p_l_e_R_a_d_i_o_B_o_x(_3_X).
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507.  
  1508.  
  1509.  
  1510.  
  1511.  
  1512.  
  1513.  
  1514.  
  1515.      Page 23                        (printed 11/11/03)
  1516.  
  1517.  
  1518.  
  1519.